package com.firefly.dao.dto.ums;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class DepartmentRemoveAdminDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@Positive(message = "ID是大于0的整数")
    private Integer id;
	@NotNull(message = "用户ID必填")
	@Min(value = 1,message = "ID不能小于1")
	public Integer adminId;
}
